@layout("/template/container.html",{bg:"bg-white",js:["/js/module/admin/sysMenu/add.js"]}){
<form id="formContainer" lay-filter="formContainer" class="layui-form model-form">
	<input id="pid" name="pid" type="hidden" value = "0"/>
	<div class="layui-form-item">
		<label class="layui-form-label">名称<span style="color: red;">*</span></label>
		<div class="layui-input-block">
			<input name="name" placeholder="请输入名称" type="text" class="layui-input" lay-verify="required" required/>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">描述</label>
		<div class="layui-input-block">
			<input name="description" placeholder="请输入描述" type="text" class="layui-input"/>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">排序</label>
		<div class="layui-input-block">
			<input name="sort" placeholder="请输入排序" value="${nextSort!'0'}" type="text" class="layui-input"/>
		</div>
	</div>
	<div class="layui-form-item" id="show-mode-container">
		<label class="layui-form-label">展现方式</label>
		<div class="layui-input-block">
			<input type="radio" name="showMode" value="VERTICAL" title="垂直/侧边" checked/>
			<input type="radio" name="showMode" value="LEVEL" title="水平" />
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">菜单/功能</label>
		<div class="layui-input-block">
			<input type="radio" name="menuFlag" value="1" title="菜单" checked/>
			<input type="radio" name="menuFlag" value="0" title="功能" />
			<p style="font-size: 9px;color: red;">菜单：管理员可操作功能导航栏，会在页面中显示，如：左侧菜单和水平菜单</p>
			<p style="font-size: 9px;color: red;">功能：不在界面中显示，用于标识管理员具有的权限，可控制内容页面中操作按钮的显示</p>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">请求地址</label>
		<div class="layui-input-block">
			<input type="checkbox" id="url-switch" lay-skin="switch" lay-text="有|无" lay-filter = "url-switch">
		</div>
		<div class="layui-input-block layui-hide" id="urlHome">
			<input id="url" name="url" placeholder="请输入请求地址" value="#" type="text" class="layui-input" autocomplete="off"/>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">图标</label>
		<div class="layui-input-block">
			<i class="layui-icon layui-icon-circle"></i> <input type="radio" name="icon" value="layui-icon layui-icon-circle" checked/>
			<i class="layui-icon layui-icon-user"></i> <input type="radio" name="icon" value="layui-icon layui-icon-user"/>
			<i class="layui-icon layui-icon-auz"></i> <input type="radio" name="icon" value="layui-icon layui-icon-auz" />
			<i class="layui-icon layui-icon-set"></i> <input type="radio" name="icon" value="layui-icon layui-icon-set" />
			<i class="layui-icon layui-icon-chart-screen"></i> <input type="radio" name="icon" value="layui-icon layui-icon-chart-screen" />
			<i class="layui-icon layui-icon-util"></i> <input type="radio" name="icon" value="layui-icon layui-icon-util" />
		</div>
	</div>
	<div class="layui-form-item text-right">
		<button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
		<button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
	</div>
</form>
@}
